/*    */ package eos.moe.dragoncore;
/*    */ 
/*    */ import io.netty.buffer.ByteBuf;
/*    */ import net.minecraft.entity.player.EntityPlayerMP;
/*    */ import net.minecraftforge.fml.common.network.simpleimpl.IMessage;
/*    */ import net.minecraftforge.fml.common.network.simpleimpl.IMessageHandler;
/*    */ import net.minecraftforge.fml.common.network.simpleimpl.MessageContext;
/*    */ import org.apache.logging.log4j.Level;
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ public class rp
/*    */   implements IMessage
/*    */ {
/*    */   private int g;
/*    */   
/*    */   public rp() {}
/*    */   
/*    */   public rp(int i) {
/* 24 */     this.g = i;
/*    */   }
/*    */ 
/*    */   
/*    */   public void fromBytes(ByteBuf byteBuf) {
/* 29 */     this.g = byteBuf.readInt();
/*    */   }
/*    */ 
/*    */   
/*    */   public void toBytes(ByteBuf byteBuf) {
/* 34 */     byteBuf.writeInt(this.g);
/*    */   }
/*    */   
/*    */   public static class eos/moe/dragoncore/ix
/*    */     implements IMessageHandler<rp, IMessage>
/*    */   {
/*    */     public IMessage onMessage(rp rp1, MessageContext messageContext) {
/* 41 */       EntityPlayerMP entityPlayerMP = (messageContext.getServerHandler()).field_147369_b;
/* 42 */       qz.v(Level.TRACE, entityPlayerMP.func_70005_c_() + " requested entity with Id #" + rp.v(rp1));
/* 43 */       qz.m.v(entityPlayerMP, rp.v(rp1));
/* 44 */       return null;
/*    */     }
/*    */   }
/*    */ }


/* Location:              D:\fanbian\[D][龙之核心]DragonCore-2.6.0.3.jar!\eos\moe\dragoncore\rp.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */